package com.intelligentcar.springboot.controller;

import com.intelligentcar.springboot.service.DataPersonTestServer;
import com.intelligentcar.springboot.service.FalutServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class FalutController {
    @Autowired
    private FalutServer falutServerImpl;

    @RequestMapping("/addFalutData")
    @ResponseBody
    public int addTopData(){
        return falutServerImpl.addFalutData();
    }
}
